package com.ruoyi.system.domain;

import com.ruoyi.system.entity.AbdulBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打印机设置，用于管理各门店下档口的打印机配置对象 printer_settings
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel("打印机设置")
public class PrinterSettings extends AbdulBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录的唯一标识符 */
    @ApiModelProperty("记录的唯一标识符")
    private Long id;

    /** 关联的门店名称 */
    @Excel(name = "关联的门店名称")
    @ApiModelProperty("关联的门店名称")
    private String storeName;

    /** 该门店下的档口数量 */
    @Excel(name = "该门店下的档口数量")
    @ApiModelProperty("该门店下的档口数量")
    private Long stallCount;

    /** 档口的具体名称 */
    @Excel(name = "档口的具体名称")
    @ApiModelProperty("档口的具体名称")
    private String stallName;

    /** 档口的类型（例如：厨房、吧台、甜品站等） */
    @Excel(name = "档口的类型", readConverterExp = "例=如：厨房、吧台、甜品站等")
    @ApiModelProperty("档口的类型（例如：厨房、吧台、甜品站等）")
    private String stallType;

    /** 打印机类型（本地打印机、云打印机） */
    @Excel(name = "打印机类型", readConverterExp = "本=地打印机、云打印机")
    @ApiModelProperty("打印机类型（本地打印机、云打印机）")
    private String printerType;

    /** 打印机状态（例如：启用、禁用、故障等） */
    @Excel(name = "打印机状态", readConverterExp = "例=如：启用、禁用、故障等")
    @ApiModelProperty("打印机状态（例如：启用、禁用、故障等）")
    private String status;

    /** 打印区域（全部：打印所有订单；桌台分类：按桌台分类打印；桌台：指定桌台打印） */
    @Excel(name = "打印区域", readConverterExp = "全=部：打印所有订单；桌台分类：按桌台分类打印；桌台：指定桌台打印")
    @ApiModelProperty("打印区域（全部：打印所有订单；桌台分类：按桌台分类打印；桌台：指定桌台打印）")
    private String printArea;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setStoreName(String storeName)
    {
        this.storeName = storeName;
    }

    public String getStoreName()
    {
        return storeName;
    }

    public void setStallCount(Long stallCount)
    {
        this.stallCount = stallCount;
    }

    public Long getStallCount()
    {
        return stallCount;
    }

    public void setStallName(String stallName)
    {
        this.stallName = stallName;
    }

    public String getStallName()
    {
        return stallName;
    }

    public void setStallType(String stallType)
    {
        this.stallType = stallType;
    }

    public String getStallType()
    {
        return stallType;
    }

    public void setPrinterType(String printerType)
    {
        this.printerType = printerType;
    }

    public String getPrinterType()
    {
        return printerType;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setPrintArea(String printArea)
    {
        this.printArea = printArea;
    }

    public String getPrintArea()
    {
        return printArea;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("storeName", getStoreName())
                .append("stallCount", getStallCount())
                .append("stallName", getStallName())
                .append("stallType", getStallType())
                .append("printerType", getPrinterType())
                .append("status", getStatus())
                .append("printArea", getPrintArea())
                .append("phone", getPhone())
                .toString();
    }
}
